<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Hash;
use DB;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class SearchController extends Controller
{
    public function getCatshop($id){
        // dd($id);
    $searchres = DB::table('goods')->where('cate_id',$id)->get();

    }
}
